ASSEMBLY_COMPILER_COMMAND = gmcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -debug -d:DEBUG -unsafe
BUILD_DIR = ../../../build/
ASSEMBLY_NAME=libswfdec-sharp
ASSEMBLY = $(BUILD_DIR)$(ASSEMBLY_NAME).dll

ASSEMBLY_WRAPPER = 
ASSEMBLY_WRAPPER_IN = 

PC_FILES =
PC_FILES_IN =

COMPILE_TARGET = library

REFERENCES =  \
	$(GLIB_SHARP_LIBS) \
	$(GTK_SHARP_LIBS) \
	-r:Mono.Cairo \
	-r:System

RESOURCES =
EXTRAS =
DATA_FILES =

FILES =  \
	Enums/Alignment.cs \
	Enums/ScaleMode.cs \
	EventArgs/Advance.cs \
	EventArgs/Audio.cs \
	EventArgs/FsCommand.cs \
	EventArgs/Invalidate.cs \
	Gtk/GtkInterop.cs \
	Gtk/GtkPlayer.cs \
	Gtk/SwfdecWidget.cs \
	Interop.cs \
	Player.cs \
	Player.Signals.cs \
	Swfdec.cs \
	Url.cs

GENERATED_FILES = AssemblyInfo.cs

all: $(ASSEMBLY)

$(ASSEMBLY) $(ASSEMBLY).mdb: $(build_sources) $(build_resources) $(build_datafiles)
	mkdir -p $(dir $(ASSEMBLY))       
	$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$@ -target:$(COMPILE_TARGET) $(build_sources) $(build_resources_embed) $(build_references_ref)

include $(top_srcdir)/Makefile.include
